package org.vectrics.recruiter.email;

import java.util.Locale;

import org.vectrics.domain.Domain;
import org.vectrics.mail.EmailHtmlBase;
import org.vectrics.mail.EmailTemplate;
import org.vectrics.provider.CoreServiceLocator;

public abstract class RecruitEmailHtmlDefault extends EmailHtmlBase {

	public RecruitEmailHtmlDefault(Domain domain, Locale locale) {
		super(domain, locale);
	}

	
	protected EmailTemplate createEmailTemplate() {
		return(CoreServiceLocator.getEventEmailTemplate());
	}
	
	//protected abstract void renderContent(Cell cell);
	
	
	
/*	
	protected void doRender() {
		this.getHead().addElement("<style><!-- " +
				    ".bannerBg{BACKGROUND: #eeeecc} " +
					".bannerFont{FONT-SIZE: 12px; COLOR: #222222; FONT-FAMILY: verdana, arial, sans-serif; line-height: 16px} " +
					".bgColor{BACKGROUND: #ffffff} " +
					"--></style>");
		this.getBody().setClass("bgColor");
		Table table = new Table();
		this.getBody().addElement(table);
		Row bannerRow = table.addRow();
		Cell bannerCell = bannerRow.addCell();
		renderBanner(bannerCell);
		
		Row contentRow = table.addRow();
		
		Cell contentCell = contentRow.addCell();
		renderContent(contentCell);
	}
*/
	
}
